﻿using System;
using System.IO;
namespace KingOfCSharp.iHunter
{
    /// <summary>
    /// The interface used to represent an attachment object
    /// </summary>
    public interface IAttachment
    {
        /// <summary>
        /// Gets the GUID of the attachment.
        /// </summary>
        Guid Guid { get; }

        /// <summary>
        /// Gets or sets the name of the file.
        /// </summary>
        /// <value>The name of the file.</value>
        string FileName { get; set; }

        /// <summary>
        /// Gets or sets the size.
        /// </summary>
        /// <value>The size.</value>
        long Size { get; set; }


        /// <summary>
        /// Gets or sets the remote URL.
        /// </summary>
        /// <value>The remote URL.</value>
        string RemoteUrl { get; set; }


        /// <summary>
        /// Gets or sets the local path.
        /// </summary>
        /// <value>The local path, or null (Nothing in Visual Basic) if the attachment is not downloaded.</value>
        string LocalPath { get; set; }


        /// <summary>
        /// Gets or sets the description of the attachment file.
        /// </summary>
        /// <value>The description.</value>
        string Description { get; set; }
    }
}
